package org.ramoths.netcom.messagesSession;

import java.io.Serializable;

public class MsgInputStreamFinException implements Serializable
{
	private static final long serialVersionUID = -4357538962972839072L;
	private int id;
	private Exception exception;
	
	public MsgInputStreamFinException()
	{
		this.id = 0;
		this.exception = null;
	}
	
	public MsgInputStreamFinException(int id, Exception exception)
	{
		this.id = id;
		this.exception = exception;
	}
	
	public int getId()
	{
		return id;
	}
	
	public void setId(int id)
	{
		this.id = id;
	}
	
	public Exception getException()
	{
		return exception;
	}
	
	public void setException(Exception exception)
	{
		this.exception = exception;
	}
}
